package com.sgzn.sgpay.model.request;

import com.sgzn.sgpay.model.request.util.PageQueryParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * 设备收益服务请求类
 * @author huangsenguang
 * @version Id: SgsShopIncomePreInfoRequest.java, v 0.1 2018/5/30 13:45 huangsenguang Exp $$
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class SgsDeviceIncomeRequest extends SgsMerchantBaseRequest {
    /**
     * 分页参数
     */
    @NotNull
    private PageQueryParam pageQueryParam;

    /**
     * 设备类型集合
     */
    private List<String> deviceTypeList;

    /**
     * 开始时间
     */
    @NotNull(message = "开始时间不允许为空")
    private Date beginTime;

    /**
     * 结束时间
     */
    @NotNull(message = "结束时间不允许为空")
    private Date endTime;
}

